#! /bin/sh /usr/share/dpatch/dpatch-run
## gcc_4.4.dpatch by Ilya Barygin <barygin@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Includes a necessary header in src/nancy_bot/msgdata.cpp, fixing
## DP: FTBFS with gcc 4.4

@DPATCH@
diff -urNad pcmanx-gtk2-0.3.7~/src/nancy_bot/msgdata.cpp pcmanx-gtk2-0.3.7/src/nancy_bot/msgdata.cpp
--- pcmanx-gtk2-0.3.7~/src/nancy_bot/msgdata.cpp	2009-10-11 18:56:28.000000000 +0400
+++ pcmanx-gtk2-0.3.7/src/nancy_bot/msgdata.cpp	2009-10-11 19:00:43.000000000 +0400
@@ -6,6 +6,7 @@
 
 #include <cstdlib>
 #include <unistd.h>
+#include <cstdio>
 
 #include "nancy_bot/msgdata.h"
 #include "nancy_bot/botutil.h"
